export default class RegisterUserDto {
    username: string;
    email: string;
    password: string;
    firstName: string;
    lastName: string;
    patronymic: string | null = null;
    countryId: string;
    userImageId: string | null = null;

    constructor(name: string,
                email: string,
                password: string,
                countryId: string,
                firstName: string,
                lastName: string,
                patronymic: string | null = null,
                userImageId: string | null = null) {
        this.username = name;
        this.email = email;
        this.password = password;
        this.firstName = firstName;
        this.lastName = lastName;
        this.patronymic = patronymic;
        this.countryId = countryId;
        this.userImageId = userImageId;
    }
}